﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports Newtonsoft.Json
Imports System.Collections.Generic

Namespace roncliProductions.LibWowArmory.CalendarDetailSchema

    Public Class invite

        Private intClassID As Integer
        Private intGenderID As Integer
        Private intID As Integer
        Private strInvitee As String
        Private intLevel As Integer
        Private blnModerator As Boolean
        Private intRaceID As Integer
        Private strStatus As String

        <JsonProperty("classId")> Public Property classId() As Integer
            Get
                Return intClassID
            End Get
            Set(ByVal value As Integer)
                intClassID = value
            End Set
        End Property

        <JsonProperty("genderId")> Public Property genderId() As Integer
            Get
                Return intGenderID
            End Get
            Set(ByVal value As Integer)
                intGenderID = value
            End Set
        End Property

        <JsonProperty("id")> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <JsonProperty("invitee")> Public Property invitee() As String
            Get
                Return strInvitee
            End Get
            Set(ByVal value As String)
                strInvitee = value
            End Set
        End Property

        <JsonProperty("level")> Public Property level() As Integer
            Get
                Return intLevel
            End Get
            Set(ByVal value As Integer)
                intLevel = value
            End Set
        End Property

        <JsonProperty("moderator")> Public Property moderator() As Boolean
            Get
                Return blnModerator
            End Get
            Set(ByVal value As Boolean)
                blnModerator = value
            End Set
        End Property

        <JsonProperty("raceId")> Public Property raceId() As Integer
            Get
                Return intRaceID
            End Get
            Set(ByVal value As Integer)
                intRaceID = value
            End Set
        End Property

        <JsonProperty("status")> Public Property status() As String
            Get
                Return strStatus
            End Get
            Set(ByVal value As String)
                strStatus = value
            End Set
        End Property

    End Class

End Namespace